package com.mingqijia.gassafety.db.hangzhou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingqijia.gassafety.db.hangzhou.entity.DeviceDataReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 杭州对接-数据上报记录 Mapper 接口
 * </p>
 *
 * @author zhangfei
 * @since 2022-04-13
 */
@Mapper
@Repository
public interface DeviceDataReportMapper extends BaseMapper<DeviceDataReport> {

    int selectLists(@Param("imei") String s, @Param("time") Object o);

    List<DeviceDataReport> selectListNowDay(String spId);
}
